using System;
using System.Collections.Generic;
using System.Text;
using System.Net;

namespace DynamicDNS
{
    /// <summary>
    /// This class contains specific Helper Methods
    /// </summary>
    public static class DynamicDNSHelper
    {
        /// <summary>
        /// This method returns all found and currently assigned IP Adresses
        /// </summary>
        /// <returns></returns>
        public static IPAddress[] GetCurrentIPAdresses()
        {
            return Dns.GetHostEntry(Dns.GetHostName()).AddressList;
        }
    }
}
